package tech.aistar.mapper;

import org.apache.ibatis.annotations.Param;
import tech.aistar.entity.Customer;

import java.util.List;
import java.util.Map;

public interface CustomerMapper {
    List<Customer> findByLimit(@Param("start")Integer pageNow,@Param("end")Integer pageSize);
    List<Customer> findAllMap(Map<String,Object>maps);
    Customer getById(Integer id);
    void saveList(@Param("customers")List<Customer> customers);
}
